<img src="/images/numonyx-logo-tag.gif" />
<table width="100%" height="30" border="0">
   <tr class="mainmenu">
      <td width="50">Home > </td>
      <td>Tasksets > </td>
   </tr>
</table>
<table border="0">
	<tr valign="top">
		<td width="200" height="100%" valign="top">
			<table border="0">
				<tr class="menu" height="50"><td width="200"><%=link_to "New Dummy", 'tasksets/new'%></td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
			</table>
		</td>
		<td>
<table> 
  <tr width="700" class="label" align="center" valign="top">
    <th>Id</th>
    <th>Uid</th>
    <th>Stage</th>
    <th>Operation</th>
  </tr>

<% for taskset in @tasksets %>
  <tr align="center" class="<%= cycle('even', 'odd') %>">
    <td width="50"><%=link_to taskset.id, "tasksets/tasks/"+taskset.id.to_s %></td>
    <td width="50"><%=h taskset.uid %></td>
    <td width="50"><%=h taskset.stage %></td>
	 <td><%= link_to image_tag("schedule.jpg", {:border=>0, :size=>"40x40" }), 'tasksets/schedule/'+taskset.id.to_s%> 
		  <%= link_to image_tag("stop.jpg", {:border=>0, :size=>"40x40"}), 'tasksets/stop/'+taskset.id.to_s%>
		  <%= link_to image_tag("reset.jpg", {:border=>0, :size=>"40x40"}), 'tasksets/reset/'+taskset.id.to_s%>
	</td>
  </tr>
<% end %>
</table>
		</td>
	</tr>
</table>

